package com.ffalcon.mercury.android.sdk.demo

import android.app.Application
import android.content.Context
import com.ffalcon.mercury.android.sdk.MercurySDK

class MercuryDemoApplication : Application() {
    companion object {
        private lateinit var appContext: Application

        @JvmStatic
        fun getContext(): Context {
            return appContext.applicationContext
        }
    }

    override fun onCreate() {
        super.onCreate()
        appContext = this
        MercurySDK.init(this)
    }
}